function delay(ms) {
    return new Promise(resolv);
}